package com.ajk.server.service;
import java.util.List;

import com.ajk.server.model.Doctor;
import com.ajk.server.model.query.DoctorQuery;
import com.ajk.server.model.response.DoctorRes;

/**
 * 医生  <br>
 * t_doctor <br>
 * v1.0 2016-05-07
 */
 public interface DoctorService {
	
	/**
 	*根据ID删除 医生
 	*/
 	public Integer deleteDoctorById(Integer id);
 	
 	/**
 	*新增 医生
 	*/
 	public Integer batchInsertDoctor(List<? extends Doctor> doctors);
 	
 	/**
 	*新增 医生
 	*/
 	public Integer insertDoctor(Doctor domain);
 
 	
 	/**
 	*更新 医生
 	*/
 	public Integer updateDoctor(Doctor domain);
 	
 	/**
 	*根据ID查询 医生
 	*/
 	public DoctorRes findDoctorById(Integer id);

	/**
 	*通过query 查询 医生
 	*/
	public List<DoctorRes> findDoctorByQuery(DoctorQuery query);	
	
	/**
 	*通过query count总条数
 	*/
 	public Integer countDoctorByQuery(DoctorQuery query);
 	
 	/**
 	* 通过ids查询
 	*/
 	public List<DoctorRes> findDoctorByUserIds(List<Integer> ids);
 	
}	